//
//  XYMacro.h
//  XYFMApp
//
//  Created by 岁变 on 16/8/27.
//  Copyright © 2016年 岁变. All rights reserved.
//

#ifndef XYMacro_h
#define XYMacro_h

//调试打印
#ifdef DEBUG
#define NSLog(fmt, ...) NSLog((@"%s [Line %d] " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__);
#else
#define NSLog(...)
#endif

#define IS_IPHONE           (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone)
#define IS_IPHONE_4         (IS_IPHONE && [[UIScreen mainScreen] bounds].size.height == 480.0f)
#define IS_IPHONE_5         (IS_IPHONE && [[UIScreen mainScreen] bounds].size.height == 568.0f)
#define IS_IPHONE_5         (IS_IPHONE && [[UIScreen mainScreen] bounds].size.height == 568.0f)
#define IS_IPHONE_5_OR_HIGHER         (IS_IPHONE && [[UIScreen mainScreen] bounds].size.height >= 568.0f)
#define IS_IPHONE_6         (IS_IPHONE && [[UIScreen mainScreen] bounds].size.height == 667.0f)
#define IS_IPHONE_6_PLUS         (IS_IPHONE && [[UIScreen mainScreen] bounds].size.height == 736.0f)
#define SCREEN_RECT         [UIScreen mainScreen].bounds
#define SCREEN_SIZE         [UIScreen mainScreen].bounds.size
#define SCREEN_WIDTH        SCREEN_SIZE.width
#define SCREEN_HEIGHT       SCREEN_SIZE.height

#define SCOLOR [UIColor colorWithRed:arc4random() % 255 / 255.0 green:arc4random() % 255 / 255.0 blue:arc4random() % 255 / 255.0 alpha:1]
#define BACKGROUNDCOLOR [UIColor colorWithRed:0.08 green:0.09 blue:0.12 alpha:1.00]

#define SLECTEDCOLOR [UIColor colorWithRed:0.24 green:0.25 blue:0.32 alpha:1.00]
#define NOTSLECTEDCOLOR [UIColor colorWithRed:0.12 green:0.14 blue:0.15 alpha:1.00]

#define URLHEADER @{@"Content-Type":@"application/x-www-form-urlencoded"}

#define PLACEHOLDERIMAGE [UIImage imageNamed:@"default_music"]
//三方
#import "Masonry.h"
#import "UIImageView+WebCache.h"
#import "MJRefresh.h"
#import "UMSocial.h"

//Category
#import "UIView+Frame.h"
//网络
#import "XYNetWorkParser.h"
#import "XY_AdvertisementView_CollectionView.h"
#import "XYPlayTools.h"

//Model
#import "ModelOfMineOne.h"
#import "ModelOfMineOne.h"

//VC
#import "MainViewController.h"
#import "VCOfRegisterThird.h"
#import "VCOfRegister.h"
#import "VCOfRegisterSecond.h"
#import "VCOfMine.h"
#import "VCOfDiscover.h"
#import "VCOfLoveListen.h"
#import "VCOfSocial.h"
#import "VCOfSetUp.h"

#import "VCOfRegisterTableViewCellFirst.h"

//BaseClass
#import "BaseViewController.h"
#import "BaseNavigationController.h"
#import "BaseCollectionView.h"
#import "BaseLabel.h"
#import "BaseTableView.h"

//发现
#import "VCOfDiscoverList.h"
#import "VCOfAnchor.h"
#import "VCOfPlay.h"
#import "VCOfHeaderPicture.h"
#import "VCOfIntroduction.h"
#import "VCOfClassify.h"
#import "AnchorInformationCustomView.h"
#import "VCOfSeacher.h"
#import "VCOfSearchConent.h"

#import "DiscoverTopPageBar.h"
#import "DiscoverCollectionViewCellForTopPageBar.h"
#import "DiscoverCollectionViewCellOfContentView.h"
#import "DiscoverCollectionViewCellOfContentViewSecond.h"
#import "DiscoverTableViewCellOne.h"
#import "DiscoverTableViewCellTwo.h"
#import "DiscoverCollectionViewCellOfContentViewThird.h"
#import "DiscoverCollectionViewCellOfContentViewFourth.h"
#import "DiscoverTableViewCellThird.h"
#import "DiscoverTableViewCellFourth.h"
#import "DiscoverCollectionViewCellOfContentViewFifth.h"
#import "DiscoverCollectionViewCellOfContentViewSixth.h"
#import "DiscoverTableViewCellFifth.h"
#import "DiscoverTableViewCellSixth.h"
#import "AnchorCollectionViewCellFirst.h"
#import "IntroductionCollectionViewCellFirst.h"
#import "DiscoverClassifyTopPageBarCell.h"
#import "DiscoverClassifyCollectionViewCellFirst.h"
#import "DiscoverClassifyCollectionViewCellSecond.h"
#import "DiscoverClassifyTableViewCellFirst.h"
#import "DiscoverClassifyCollectionViewCellThird.h"
#import "DiscoverClassifyCollectionViewCellFourth.h"
#import "DiscoverClassifyTableViewCellSecond.h"
#import "DiscoverClassifyCollectionViewCellFifth.h"
#import "DiscoverClassifyTableViewCellThird.h"
#import "SearchContentCollectionViewCellFirst.h"
#import "SearchContentCollectionViewCellSecond.h"
#import "SearchContentCollectionViewCellThird.h"
#import "SearchContentCollectionViewCellFourth.h"
#import "SearchContentTableViewCellFirst.h"
#import "SearchContentTableViewCellSecond.h"
#import "SearchContentCollectionViewCellFifth.h"
#import "SearchContentCollectionViewCellSixth.h"
#import "SearchCollectionViewCell.h"
#import "PlayShareCollectionViewCell.h"


//Model
#import "DiscoverModelFirst.h"
#import "DiscoverModelFirstData.h"
#import "DiscoverModelFirstMain.h"
#import "DiscoverModelFirstStatus.h"
#import "DiscoverModelFirstScroll.h"
#import "DiscoverModelFirstRecommend.h"
#import "DiscoverModelFirstPopularity.h"
#import "DiscoverModelFirstSpecial.h"
#import "DiscoverModelFirsTypeModel.h"
#import "DiscoverModelFirstTypeContenModel.h"

#import "DiscoverModelSecond.h"
#import "DiscoverModelSecondStatus.h"
#import "DiscoverModelSecondContant.h"

#import "DiscoverListModelFirst.h"
#import "DiscoverListModelFirstData.h"
#import "DiscoverListModelFirstStatus.h"
#import "DiscoverListModelSecondData.h"
#import "DiscoverListModelSecondStatus.h"
#import "DiscoverListModelSecond.h"
#import "DiscoverListModelSecondPaginated.h"

#import "AnchorModelFirst.h"
#import "AnchorModelFirstData.h"
#import "AnchorModelFirstDataInfomation.h"
#import "AnchorModelFirstStatus.h"
#import "AnchorModelSecond.h"
#import "AnchorModelSecondData.h"
#import "AnchorModelSecondStatus.h"

#import "ClassifyModelFirst.h"
#import "ClassifyModelFirstData.h"
#import "ClassifyModelFirstCatList.h"
#import "ClassifyModelFirstStatus.h"
#import "ClassifyModelFirstNewMusics.h"
#import "ClassifyModelFirstTopMusics.h"
#import "ClassifyModelFirstTopItems.h"
#import "ClassifyModelSecond.h"
#import "ClassifyModelSecondStatus.h"
#import "ClassifyModelSecondData.h"
#import "ClassifyModelSecondPaginated.h"

#import "SearchModelFirstStatus.h"
#import "SearchModelFirst.h"
#import "SearchModelFirstData.h"
#import "SearchModelSecond.h"
#import "SearchModelSecondData.h"
#import "SearchModelSecondStatus.h"
#import "SearchModelFirstPaginated.h"
#import "SearchModelSecondPaginated.h"
#import "ModelOfMineTwo.h"
#import "ModelMineTwoStatus.h"
#import "ModelOfMineTwoSession.h"
#import "ModelOfMineTwoUser.h"

#import "PlayVCModelOfCollectStatus.h"
#import "PlayVCModelOfCollect.h"

//爱听
#import "LoveListenCollectionViewCellOfContentViewSecond.h"
#import "LoveListenCollectionViewCellOfContentViewFirst.h"
#import "LoveListenCollectionViewCellOfContentViewThird.h"
#import "LoveListenTableViewCellFirst.h"
#import "LoveListenTableViewCellSecond.h"


#import "LoveListenModelFirst.h"
#import "LoveListenModelFirstData.h"
#import "LoveListenModelFirstStatus.h"
#import "LoveListenModelFirstPaginated.h"
#import "LoveListenModelSecond.h"
#import "LoveListenModelSecondData.h"
#import "LoveListenModelSecondStatus.h"
#import "LoveListenModelSecondPaginated.h"

//社交
#import "SocialCollectionViewCellFirst.h"


#endif /* XYMacro_h */
